laravel eloquent where id not equal to

172

laravel eloquent where id not equal to -

Code::where('to_be_used_by_user_id', '!=' , 2)->orWhereNull('to_be_used_by_user_id')->get()

Comments

Submit
0 Comments